package com.softaria.promosite.client;

import java.io.IOException;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.softaria.windows.config.MenuConfiguration;

@RemoteServiceRelativePath("content")
public interface ContentService extends RemoteService {

  static final String TEXT_TYPE = "text";

  static final String WIDGETS_DEMO = "manyWidgets";
  static final String LISTENERS_DEMO = "listeners";
  static final String HELP_DEMO = "helpDemo";

  String getTextContent(String path) throws IOException;

  MenuConfiguration getMenuConfiguration() throws IOException;

}
